Release 10.1A: OpenEdge Development:
Progress Dynamics Managers API Reference
buildWidgetTable
This procedure builds a temp-table of widgets that might require translation by walking the widget tree for the given frame handle. It does not actually do the translation. The temp-table must then be passed to the
translateWidgetTableprocedure for subsequent translation.If the window handle is known and passed in, then an entry is created in the temp-table for the window translation. If the object name is passed in as blank, then only translations for the objects in the window are retrieved.
Location: af\app\aftrnmngrp.i Parameters:INPUT pcObjectName AS CHARACTERThe object name, with path stripped if passed in. Blank = all.
INPUT pdLanguageObj AS DECIMALThe language object number, or 0 for the login language.
INPUT phWindow AS HANDLEThe window handle (
CURRENT-WINDOW), if title translation required.INPUT phFrame AS HANDLEThe frame handle (
FRAME {&FRAME-NAME}:HANDLE).OUTPUT TABLE FOR ttTranslateThe temp-table of widgets for translation.
Notes: Since the frame handle is not available on the server, this procedure is only valid when run on the client. Examples: See thebuildTranslationsprocedure inaf\cod2\aftemlognw.w.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |